﻿using System;

namespace Entities
{
    public abstract class Person
    {
        public string id { get; set; }
        public string name { get; set; }
        public string lastName { get; set; }
        public DateTime registrationDate { get; set; }
        public string middleName { get; set; }
        public string secondLastName { get; set; }
        public string email { get; set; }
        public string telephone { get; set; }
        public string cellPhone { get; set; }
        public string dateView { get; set; }
        public string blockedView { get; set; }

        public Person()
        {
            id = string.Empty;
            name = string.Empty;
            lastName = string.Empty;
            registrationDate = new DateTime();
            middleName = string.Empty;
            secondLastName = string.Empty;
            email = string.Empty;
            telephone = string.Empty;
            cellPhone = string.Empty;
            blockedView = string.Empty;
            dateView = string.Empty;
        }

        public virtual string GetFullName()
        {
            return name + " " + lastName + " ";
        }
    }
}
